<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>需求</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdodasrel.setup.html">安装／配置</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdodasrel.installation.html">安装</a></div>
 <div class="up"><a href="sdodasrel.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sdodasrel.requirements" class="section">
  <h2 class="title">需求</h2>
  <p class="para">
   The Relational DAS requires that the SDO extension be installed.
   The SDO extension requires a version of PHP 5.1, and the 
   Relational DAS requires a recent version that contains 
   an important fix for PDO. The most up-to-date information about
   required levels of PHP should be found in the changelog for the 
   package on PECL. At the time of writing, though, the Relational 
   DAS requires the most recent beta level of PHP 5.1, that is 
   PHP 5.1.0.
  </p>
  <p class="para">
   The Relational DAS uses PDO to access the relational database,
   and so should run with a variety of different relational databases.
   At the time of writing it has been tested in the following configurations
   <ul class="itemizedlist">
    <li class="listitem">
     <p class="para">
      MySQL 4.1.14, on Windows. 
      The Relational DAS operates correctly with the php_pdo_mysql
      driver that comes with the pre-built binaries for PHP 5.1.0.
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      MySQL 4.1.13, on Linux. It is necessary to have the most up-to-date
      PDO driver for MySQL, which comes built in to PHP 5.1.0. 
      It may be necessary to uninstall the usual driver that would have 
      come from PECL using 
      <strong class="command">pear uninstall pdo_mysql</strong>.
      You will need to configure PHP with the 
      <strong class="command">--with-pdo-mysql</strong> option.
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      DB2 8.2 Personal Edition, on Windows.
      The Relational DAS operates correctly with the
      php_pdo_odbc driver that comes with the pre-built binaries for
      PHP 5.1.0.
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      DB2 8.2 Personal Developer&#039;s Edition, on Linux. 
      The Developer&#039;s Edition is needed because it
      contains the include files needed when PHP is configured
      and built. You will need to configure PHP with the 
      <strong class="command">--with-pdo-odbc=ibm-db2</strong> option.
     </p>
    </li>
   </ul>
  </p>

  <p class="para">
   The Relational DAS applies changes to the database within
   a user-delimited transaction: that is, it issues a call to 
   <span class="function"><a href="pdo.begintransaction.html" class="function">PDO::beginTransaction()</a></span>
   before beginning to apply changes, and 
   <span class="function"><a href="pdo.commit.html" class="function">PDO::commit()</a></span>
   or 
   <span class="function"><a href="pdo.rollback.html" class="function">PDO::rollback()</a></span>
   on completion.
   Whichever database is chosen, the database and the PDO driver
   for the database must support these calls. 
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdodasrel.setup.html">安装／配置</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdodasrel.installation.html">安装</a></div>
 <div class="up"><a href="sdodasrel.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
